package lab02.test10;

public class AmJericanPeople extends People {
    //属性：美国人
    String American;

    //行为：吃饭、睡觉等
    void eat() { }

    void sleep() { }

    String getString() {
        return (name+"|"+nationnality+"|"+idCard);
    }
}
